package creational.builder;

/**
 * 房子实体类
 */
public class Houser {
    private String type;
    private Integer doors;
    private Integer windows;
    private Integer room;
    private Boolean garden;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getDoors() {
        return doors;
    }

    public void setDoors(Integer doors) {
        this.doors = doors;
    }

    public Integer getWindows() {
        return windows;
    }

    public void setWindows(Integer windows) {
        this.windows = windows;
    }

    public Integer getRoom() {
        return room;
    }

    public void setRoom(Integer room) {
        this.room = room;
    }

    public Boolean getGarden() {
        return garden;
    }

    public void setGarden(Boolean garden) {
        this.garden = garden;
    }

    public Houser() {
    }

    public Houser(String type, Integer doors, Integer windows, Integer room, Boolean garden) {
        this.type = type;
        this.doors = doors;
        this.windows = windows;
        this.room = room;
        this.garden = garden;
    }

    @Override
    public String toString() {
        return "Houser{" +
                "type='" + type + '\'' +
                ", doors=" + doors +
                ", windows=" + windows +
                ", room=" + room +
                ", garden=" + garden +
                '}';
    }
}
